package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "OBJ_AREA")
public class Area extends DomainObject {
	@Column(name = "name")
	private String name;

	@Column(name = "type")
	private String type;

	@Column(name = "readers")
	private String readers;

	@Column(name = "empCount")
	private Integer empCount;

	@Column(name = "timeLength")
	private Integer timeLength;

	@Column(name = "xPosition")
	private Integer areaX;

	@Column(name = "yPosition")
	private Integer areaY;
	
	@Column(name = "Phone")
	private String Phone;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getReaders() {
		return readers;
	}

	public void setReaders(String readers) {
		this.readers = readers;
	}

	public Integer getEmpCount() {
		return empCount;
	}

	public void setEmpCount(Integer empCount) {
		this.empCount = empCount;
	}

	public Integer getTimeLength() {
		return timeLength;
	}

	public void setTimeLength(Integer timeLength) {
		this.timeLength = timeLength;
	}

	public Integer getAreaX() {
		return areaX;
	}

	public void setAreaX(Integer areaX) {
		this.areaX = areaX;
	}

	public Integer getAreaY() {
		return areaY;
	}

	public void setAreaY(Integer areaY) {
		this.areaY = areaY;
	}

	public String getPhone() {
		return Phone;
	}

	public void setPhone(String phone) {
		Phone = phone;
	}
}
